package com.hxit.huaxiamelongarden.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.info.Contact;
/**
 * @ClassName SwaggerConfig
 * @description 配置 Swagger 文档信息
 * @Author 12694
 * @Date 2025/1/28 10:49
 * @Version 1.0
 **/
@Configuration
public class SwaggerConfig {

    @Bean
    public OpenAPI springShopOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("华夏瓜园接口文档")
                        .description("华夏瓜园接口文档")
                        .version("1.0")
                        .contact(new Contact()
                                .name("华夏it")
                                .email("1269481026@qq.com")));
    }
}
